package net.starwifi.duobao.service;


import net.starwifi.duobao.entity.Payment;

import java.io.File;
import java.io.IOException;

public interface PaymentService extends BaseService<Payment,Long>{


     Payment findByOrderSn(String orderSn);


     Payment findBySn(String sn);

     /**
      * 支付处理
      *
      * @param payment 收款单
      */
     void handle(Payment payment);

     //void exportTxtFile(File file) throws IOException;


}
